#include <stdio.h>

main() {
    char *inptr, input[81];  
    inptr = input; 

    printf("Enter fewer than 80 characters: ");
    fgets(input, 81, stdin); 

    if (input[0] == '\n') {
	puts("You entered nothing."); 
	return 0;
    }

    while (*inptr != 10) {
	if (*inptr == 32) { 
	    printf("\n"); 
	}
	else {
	    printf("%c", *inptr); 
	}
	*(inptr++);
    }
    printf("\n"); 
}
